﻿using System;
using System.Collections.Generic;
using System.Text;

using Utils.JobTask;

namespace System
{

    /// <summary>
    /// 指定时间执行
    /// </summary>
    public class CornAttribute : Attribute
    {
        public Cron Cron { get; }
        public CornAttribute(string cronExpression)
        {
            this.Cron = new Cron(cronExpression);
        }
    }
}
